#ifndef LOGOSCENE_H
#define LOGOSCENE_H
#include <cstddef>
#include <SFML/Graphics/Sprite.hpp>
#include <SFML/Audio.hpp>
#include "scene.h"
#include <iostream>
#include "animatedsprite.h"

class LogoScene : public Scene {


public:

	//Constructor
	LogoScene(const std::string &filename,bool sound, const sf::Color &backgroundColor=sf::Color::Black, float fadeTime=0.75,float logoTime=3.0);


	//Hereda de Scene
	void Init();
	void ProcessEvent(const sf::Event &e);
	void Render(sf::RenderWindow &w);
	void Update(const float &dt);
	void CleanUp();

private:
	
	std::string logoFilename;
	sf::Sprite sprLogo;
	sf::Color backgroundColor;
	float fadeTime;//tiempo de fundido
	float logoTime;//tiempo de logo	
	float elapsedTime;//tiempo transcurrido	

	sf::SoundBuffer buffSound;
	sf::Sound sndLogo;



};
#endif
